<?php
include "database.php";
databaseConnect();
  $query = "SELECT * FROM genre";
  $result = mysql_query($query);
  
  while($row = mysql_fetch_assoc($result)){
    echo $row["genreName"];
  }
databaseDisconnect();
?>